package log

import (
	"go.uber.org/zap"
)

var logger *zap.SugaredLogger

func init() {
	loggerPro, _ := zap.NewProduction()
	logger = loggerPro.Sugar()

}
func Info(args ...interface{}) {
	logger.Info(args)
}
func Infof(template string, args ...interface{}) {
	logger.Infof(template, args)
}
func Error(args ...interface{}) {
	logger.Error(args)
}
func Errorf(template string, args ...interface{}) {
	logger.Errorf(template, args)
}
func Warnf(template string, args ...interface{}) {
	logger.Warnf(template, args)
}
